home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / usr / share / alsa / cards / ATIIXP-SPDMA.conf < prev    next >
Encoding:
Text File  |  2006-06-21  |  2.2 KB  |  169 lines

  1. #
  2. # Configuration for the ATI IXP 150/200/250 chips
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ATIIXP-SPDMA.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. # default with dmix/dsnoop
  18. ATIIXP.pcm.default {
  19.     @args [ CARD ]
  20.     @args.CARD {
  21.         type string
  22.     }
  23.     type asym
  24.     playback.pcm {
  25.         type plug
  26.         slave.pcm {
  27.             @func concat
  28.             strings [ "dmix:" $CARD ]
  29.         }
  30.     }
  31.     capture.pcm {
  32.         type plug
  33.         slave.pcm {
  34.             @func concat
  35.             strings [ "dsnoop:" $CARD ]
  36.         }
  37.     }
  38. }
  39.  
  40. <confdir:pcm/surround40.conf>
  41.  
  42. ATIIXP-SPDMA.pcm.surround40.0 {
  43.     @args [ CARD ]
  44.     @args.CARD {
  45.         type string
  46.     }
  47.     type hooks
  48.     slave.pcm {
  49.         type hw
  50.         card $CARD
  51.         device 0
  52.         channels 4
  53.     }
  54.     hooks.0 {
  55.         type ctl_elems
  56.         hook_args [
  57.             {
  58.                 name "Channel Mode"
  59.                 preserve true
  60.                 value "4ch"
  61.                 lock true
  62.                 optional true
  63.             }
  64.             # for old drivers
  65.             {
  66.                 name "Line-In As Surround"
  67.                 preserve true
  68.                 value true
  69.                 optional true
  70.             }
  71.             {
  72.                 name "Surround Down Mix"
  73.                 preserve true
  74.                 value off
  75.                 lock true
  76.                 optional true
  77.             }
  78.         ]
  79.     }
  80. }
  81.  
  82. <confdir:pcm/surround41.conf>
  83. <confdir:pcm/surround50.conf>
  84. <confdir:pcm/surround51.conf>
  85.  
  86. ATIIXP-SPDMA.pcm.surround51.0 {
  87.     @args [ CARD ]
  88.     @args.CARD {
  89.         type string
  90.     }
  91.     type hooks
  92.     slave.pcm {
  93.         type hw
  94.         card $CARD
  95.         device 0
  96.         channels 6
  97.     }
  98.     hooks.0 {
  99.         type ctl_elems
  100.         hook_args [
  101.             {
  102.                 name "Channel Mode"
  103.                 preserve true
  104.                 value "6ch"
  105.                 lock true
  106.                 optional true
  107.             }
  108.             # for old drivers
  109.             {
  110.                 name "Line-In As Surround"
  111.                 preserve true
  112.                 value true
  113.                 optional true
  114.             }
  115.             {
  116.                 name "Mic As Center/LFE"
  117.                 preserve true
  118.                 value true
  119.                 optional true
  120.             }
  121.             {
  122.                 name "Surround Down Mix"
  123.                 preserve true
  124.                 value off
  125.                 lock true
  126.                 optional true
  127.             }
  128.             {
  129.                 name "Center/LFE Down Mix"
  130.                 preserve true
  131.                 value off
  132.                 lock true
  133.                 optional true
  134.             }
  135.         ]
  136.     }
  137. }
  138.  
  139. <confdir:pcm/iec958.conf>
  140.  
  141. ATIIXP-SPDMA.pcm.iec958.0 {
  142.     @args [ CARD AES0 AES1 AES2 AES3 ]
  143.     @args.CARD {
  144.         type string
  145.     }
  146.     @args.AES0 {
  147.         type integer
  148.     }
  149.     @args.AES1 {
  150.         type integer
  151.     }
  152.     @args.AES2 {
  153.         type integer
  154.     }
  155.     @args.AES3 {
  156.         type integer
  157.     }
  158.     type iec958
  159.     slave {
  160.         pcm {
  161.             type hw
  162.             card $CARD
  163.             device 1
  164.         }
  165.         format IEC958_SUBFRAME_LE
  166.     }
  167.     status [ $AES0 $AES1 $AES2 $AES3 ]
  168. }
  169.